# -*- coding: utf-8 -*-
#
# 模块路由文件
# Author: Alex Cai
# Email: cyy0523xc@qq.com
# Created Time: 2025-06-13
# from typing import Dict
from fastapi import APIRouter
# from fastapi import Depends, HTTPException
from .schema import FlowRequest, FlowResponse

router = APIRouter(
    # dependencies=[Depends(get_token_header)],
    # responses={404: {"description": "Not found"}},
)


@router.post("/sync/run", summary='工作流同步执行接口', response_model=FlowResponse)
async def sync_api(
    params: FlowRequest
):
    """工作流同步执行API"""
    return {'message': 'ok'}
